﻿<%@ Page Title="【活动中心】" Language="C#" MasterPageFile="~/APP_Master/MasterPage_Default.master"
    AutoEventWireup="true" CodeFile="lottery_center.aspx.cs" Inherits="lottery_center" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <ul class="lottery_center_box">
    <%if (ds != null && ds.Rows.Count > 0)
      {
          for (int i = 0; i < ds.Rows.Count; i++)
          {%>
        <li>
            <div class="lottery_img">
                <img src="<%=ds.Rows[i]["PicUrl"] %>" alt="" />
            </div>
            <div class="lottery_c_r">
                <h2 class="lottery_t"><a href="lottery_center_detail.aspx?id=<%=ds.Rows[i]["Id"] %>"><%=ds.Rows[i]["Title"]%></a></h2>
                <div class="lottery_txt_ul">
                    <p>活动介绍：</p>
                    <%=ds.Rows[i]["Source"]%>
                    <p>活动时间：<%=ds.Rows[i]["Author"]%></p>
                </div>
                <%--<p class="lottery_btn"><a href="lottery_center_detail.aspx">立即参与</a></p> 
                <p class="lottery_btn lottery_btn_o"><a href="lottery_center_detail.aspx">已经结束</a></p>--%>
            </div>
        </li> 
        <%}
      } %>
    </ul>
</asp:Content>
